5.4. Configure SELINUX=disabled in the /etc/selinux/config file: # This file controls the state of SELinux on the system. # ... Reboot your system. After reboot, confirm that the getenforce command returns Disabled :
To change SELinux from enabled to disabled and vice versa change the SELinux variable in /etc/sysconfig/selinux and reboot the sever. If SELinux is enabled use ...
To temporary change SELinux mode on a server (until next server reboot if not changed back manually), use the setenforce command with the parameters 0 ...